package com.chaoyue.content.beans.dto;


import io.swagger.annotations.ApiModelProperty;

import lombok.Data;



/**
 * @description: 接收前端发送的新增课程表单的数据模型
 * @author whr
 * @date 2023/5/7 21:19
 * @version 1.0
 */
@Data
public class CourseDto {

    @ApiModelProperty(value = "课程名称", required = true)
    private String name;

    @ApiModelProperty(value = "课程id", required = true)
    private Long id;

    @ApiModelProperty (value = "适用人群", required = true)
    private String users;

    @ApiModelProperty(value = "课程标签")
    private String tags;


    @ApiModelProperty(value = "大分类", required = true)
    private String mt;


    @ApiModelProperty(value = "小分类", required = true)
    private String st;


    @ApiModelProperty(value = "课程等级", required = true)
    private String grade;

    @ApiModelProperty(value = "教学模式（普通，录播，直播等）", required = true)
    private String teachmode;

   @ApiModelProperty(value = "课程介绍")
    private String description;

   @ApiModelProperty(value = "课程图片", required = true)
    private String pic;


   @ApiModelProperty(value = "收费规则，对应数据字典", required = true)
    private String charge;

   @ApiModelProperty(value = "价格")
    private Float price;
   @ApiModelProperty(value = "原价")
    private Float originalPrice;


   @ApiModelProperty(value = "qq")
    private String qq;

   @ApiModelProperty(value = "微信")
    private String wechat;
   @ApiModelProperty(value = "电话")
    private String phone;

   @ApiModelProperty(value = "有效期")
    private Integer validDays;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUsers() {
        return users;
    }

    public void setUsers(String users) {
        this.users = users;
    }

    public String getTags() {
        return tags;
    }

    public void setTags(String tags) {
        this.tags = tags;
    }

    public String getMt() {
        return mt;
    }

    public void setMt(String mt) {
        this.mt = mt;
    }

    public String getSt() {
        return st;
    }

    public void setSt(String st) {
        this.st = st;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getTeachmode() {
        return teachmode;
    }

    public void setTeachmode(String teachmode) {
        this.teachmode = teachmode;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPic() {
        return pic;
    }

    public void setPic(String pic) {
        this.pic = pic;
    }

    public String getCharge() {
        return charge;
    }

    public void setCharge(String charge) {
        this.charge = charge;
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Float getOriginalPrice() {
        return originalPrice;
    }

    public void setOriginalPrice(Float originalPrice) {
        this.originalPrice = originalPrice;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getValidDays() {
        return validDays;
    }

    public void setValidDays(Integer validDays) {
        this.validDays = validDays;
    }
}
